<!DOCTYPE html>
<head>
    <meta charset="utf-8">
    <title>学生信息上传</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <link rel="stylesheet" href="/layui/css/layui.css">
</head>
<body>
<blockquote class="layui-elem-quote layui-text">
    学生信息添加（如果所属班级项中未有想添加的班级，请先添加班级信息）
</blockquote>
<form class="layui-form" action="">
    <div class="layui-form-item">
        <label class="layui-form-label">学生姓名：</label>
        <div class="layui-input-inline">
            <input name="studentName" class="layui-input" type="text" placeholder="请输入姓名" autocomplete="off"
                   lay-verify="required">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">学号：</label>
        <div class="layui-input-inline">
            <input name="studentCode" class="layui-input" type="text" placeholder="请输入学号" autocomplete="off"
                   lay-verify="number">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">手机号码：</label>
        <div class="layui-input-inline">
            <input name="studentTelephone" class="layui-input" type="text" placeholder="请输入手机号码" autocomplete="off"
                   lay-verify="phone">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">性别：</label>
        <div class="layui-input-block">
            <input type="radio" name="studentSex" value="0" title="男" checked>
            <input type="radio" name="studentSex" value="1" title="女">
        </div>
    </div>
    <div class="layui-form-item">
        <div class="layui-inline">
            <label class="layui-form-label">入学日期：</label>
            <div class="layui-input-block">
                <input name="studentEnrolment" class="layui-input" placeholder="请选择日期" id="date1" type="text" autocomplete="off">
            </div>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">所属班级：</label>
        <div class="layui-input-block" style="width: 40%;">
            <select name="studentClass" lay-verify="required" lay-search="className" id="className">
                <option value=""></option>
            </select>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">学生状态：</label>
        <div class="layui-input-block">
            <input type="radio" name="studentStatus" value="1" title="启用">
            <input type="radio" name="studentStatus" value="0" title="禁用" checked>
        </div>
    </div>
    <div class="layui-form-item">
        <div class="layui-input-block">
            <button class="layui-btn" lay-submit lay-filter="student">立即提交</button>
            <button type="reset" class="layui-btn layui-btn-primary">重置</button>
        </div>
    </div>
</form>
<script src="/layui/layui.js"></script>
<script src="/js/student.js"></script>
</body>
</html>